import 'dart:ui';

class SvgModel {
  late final Path path;
  late final Color color;

  SvgModel({
    required this.path,
    required this.color,
  });

  SvgModel.fromJson(Map<String, dynamic> json) {
    path = json['path'];
    color = json['color'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['path'] = path;
    data['color'] = color;
    return data;
  }
}
